window.onload = function(){     
        var html = document.querySelector("html");        
        html.style.fontSize = html.offsetWidth / 750 * 100 + "px";         
            addEventListener("resize",function(){                  
                    html.style.fontSize = html.offsetWidth / 750 * 100 + "px";         
        },false); 
} 